package com.mdd.common.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mdd.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;


@Data
@EqualsAndHashCode(callSuper = true)
@TableName("order_return_car_record")
@ApiModel("还车记录实体")
public class ReturnCarRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "还车类型：1、到期还车 2、提前还车")
    private Integer operationType;

    @ApiModelProperty(value = "是否保留代扣")
    private String isAmountPayment;

    @ApiModelProperty(value = "车辆损失费")
    private BigDecimal damages;

    @ApiModelProperty(value = "违约费")
    private BigDecimal backOut;

    @ApiModelProperty(value = "违章罚款")
    private BigDecimal violationFines;

    @ApiModelProperty(value = "拖车费")
    private BigDecimal trucking;

    @ApiModelProperty(value = "增值服务费")
    private BigDecimal valueAddedServices;
}
